<?php
/* 
 *销售详情
 */
class Back_supplier_detailAction extends TransDetailAction {
    public function _filter(&$map) {
        $key = trim($_REQUEST['keywords']);
        if(!empty($key)) {
            $map['title'] = array('like',"%".$key."%");
            $map['name'] = array('like',"%".$key."%");
            $map['_logic'] = "or";
        }
        if(!empty($_REQUEST['back_supplier_id'])){
           $map['back_supplier_id'] = $_REQUEST['back_supplier_id'];
        }
    }
}
?>
